home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ETO Development Tools 4
/
ETO Development Tools 4.iso
/
Tools - Objects
/
Virtual User 1.0
/
Release Notes 1.0
< prev
next >
Wrap
Text File
|
1991-01-25
|
12KB
|
258 lines
Virtual User 1.0 Release Notes
This is the 1.0 final release of the Virtual User (VU) test automation
system. If you are updating VU from 1.0b5 release then please use
the Mark menu and go to the section on 'Things that have changed'.
This release package comes in the form of two 800K disks and four
documents. The documents are as follows:
1. Getting Started with Virtual User: The first time user is
suggested to start by reading this document. This gives you a
road map to the rest of the documents.
2. Virtual User General Reference: This describes the
general architecture of the system and how to make effective use
of it for test automation.
3. Virtual User Language Reference: This is a reference manual for
the scripting language that has been designed to specify VU-driven
tests.
4. Virtual User Release Notes (for 1.0)
5. VU Recorder Reference Manual: This describes the sister application
VU Recorder which can be used to augment the utility of VU. The
Virtual User General Reference has a chapter on how to use VU Recorder
in conjunction with VU.
The two disks are as follows:
1. Virtual User Program: This disk contains the Virtual User system which
is comprised of the following main items. The Virtual User General
Reference describes how to install VU on your machine using the contents
of this disk.
• Virtual User folder: VU, the MPW tool which runs the VU scripts, is
located here. Other items in this folder are used to set up a VU
environment in MPW.
• Agent VU: This is the system Init which sits in the test machine's
system folder.
• Supplements: This folder contains other supplementary items like
VU Recorder, special items needed to test MacApp applications, etc.
2. Virtual User Samples: This disk provides you with some example VU
scripts and some example libraries to get you started. Each of the
example scripts has a header which describes its purpose and the setup
required to run it.
VU Installation
To be able to use Virtual User you must start by reading the Getting Started
With Virtual User document. This document describes the system, its
installation procedure and other facts you must know to start using VU.
Things that have changed
We have fixed some problems found in the previous version (1.0b5). As a
result the following components of the system has changed since the last
release:
Virtual User Program (Disk 1) -
VU (the MPW tool), Agent VU, Startup, InstallVUHelp, MPW Scripts folder,
and the MacApp Hook folder in the Supplements folder.
Virtual User Samples (Disk 2) -
Example Scripts and Example Libraries.
Following is a list of problems that have been fixed:
1. When you abort VU using cmd-. while a test is in progress, VU
now responds much quicker.
2. Aborting a script during a typing operation on a target sometimes
caused the last typed key to remain in the key down position. This
should now happen much less frequently.
3. VU now allows you to type using the numeric keypad as follows:
type k:{1} p:true; #the 'p' arg specifies use of the numeric keypad
If p:false then the numeric keypad will not be used. If you do not
specify the 'p' arg at all then VU may or may not use the numeric keypad,
i.e.
type k:{1}; #this Does NOT ensure either 'use' or 'not use' keypad
Please note that use of the 'p' argument is optional. Any old scripts
which did typing will continue to run (but may not make use of the
numeric keypad).
4. No hierarchical menu item selection problem should occcur (there are
some stray cases when VU might have problems theoretically, but in
practice we should normally not encounter such cases at all).
5. VU should work against the new keyboards and recognize them when you do
match [keyboard]. Note that the target has to be running System 6.0.7 for
this to work.
6. When you do match [target], VU should recognize the newer systems Mac IIfx,
MacIIsi, MacLC and Classic (the n: trait should have correct value).
7. You should be able to type against most international systems properly
although you may have to add the KCHR resources from the target system
to VU's resource fork on the host. Refer to the the Chapter "Running
Virtual User Against International Systems" in the Virtual User General
Reference for details.
8. Menu selections from the System 7.0 Label menu will now work properly.
Things to note
• MacApp Support
Virtual User has problems running against MacApp applications due to
reasons described in the chapter “Running VU Against Applications built
with MacApp” in the Virtual User General Reference document. We provide
an Agent VU hook for MacApp applications to enable the application to
become VU friendly. You will have to build your MacApp application with
this hook to be able to test it with VU successfully. The source code
for the hook and the accompanying document are available in the
Supplements folder in the Virtual User Program disk. A sample application
built using this hook and a VU script which runs against it is available
in the Virtual User Samples disk.
• Popup Support
We have implemented support for popup menu selections and matching for
those applications that use the CDEF (CDEF id = 63) which comes with
System 7.0 or the one which the Macintosh Communication Toolbox uses.
Please contact Apple Software Licensing regarding the use of the
Communication Toolbox CDEF. It is not possible to retrofit applications
that use the scheme outlined in Inside Mac vol. V.
• Warnings for reserved word use
We are trying to safeguard against possible name conflicts with future
versions of VU. VU will now warn against the use of a particular name
(e.g. variable, task name) that may conflict with our future plans.
This will not prevent you from using it now as there are no semantics
tied to those words at present. If you want to know whether a particular
script has any names that may conflict with the future without actually
executing the script, you can use the compile only option (-c).
Known Problems
1. Task definitions with task calls in the default values for their
arguments do not work properly. For example,
task test (arg1 := foo()) begin…end;
where foo() is a task call. The task call given as the default argument
will always evaluate to undefined.
2. The grow trait for windows may be reported to be true when the window has
no visible grow box. This occurs with windows which are technically
document windows with grow boxes, but which choose not to draw the grow
box. There is no known problem with the reverse case, which is to say VU
will not indicate that a window lacks a grow box when it really has one.
3. VU will erroneously report that it has lost contact with its target if a
matching operation is attempted while the target's mouse button is
pressed in the menubar, a window's title bar, grow box, any control, or
a menu selection is in progress. This problem arises when the target
mouse is operated with the primitive mouse operation pressMouse and no
corresponding releaseMouse command is given before matching is attempted
or when some person holds the mouse button down while VU is operating
the target. At present, there is no fix available to us for this problem.
4. There may be problems with situations where VU will be reading the items
out of one dialog (with help from Agent VU) and a new dialog appears in
front of the one VU is reading. VU continues to read dialog items, but
it is getting them from the new front most dialog. The effect is to
create a window descriptor whose content list is a mixture of both
dialogs. An example where this might happen is with printer dialogs.
5. Typed keys on target machines may be repeated when running on busy
networks. This problem may be eliminated by making sure that key repeat
is set to off with the Keyboard control panel on each target.
6. The screen size of a target may be improperly reported if a system is
transferred across machine types. For example, if a system running on a
Mac SE had previously been running on a Mac II with a color monitor, the
screen size of the color monitor will most likely be reported. If the
system is transferred to a machine with a configurable monitor setup,
this problem can be corrected by running the Monitors control panel.
Otherwise, the workaround is to install systems specifically for the
machine on which it will be running.
7. Under System 7.0a9, the location of content items in control panel
windows and in the Chooser will be skewed in relation to their real
on-screen location. This will be fixed at least for control panel
windows in upcoming developer-seeded versions of System 7.0.
8. Due to the special input methods required, Virtual User does not directly
support multibyte character typing operations on international systems which
have multibyte character sets.
9. Virtual User does not support the keycode remapping which is done on certain
keys via an 'itlk' resource in some international systems. As a result,
certain characters may not type properly on targets running international
systems which use 'itlk' resources.
10. If the user specifies "EnterKey" to be typed in a script statement and the
keypad argument is not specified, the keycode generated in the event record
on the target will be $34. This keycode cannot normally be generated on a
Macintosh keyboard. However, the correct ASCII value for enter, $03, is
correctly specified. Applications will not be affected by this unless they
use the keycode. The workaround is to specify that the keypad be used in
the typing operation. In this case, the keycode for the keypad enter key
is specified correctly.
11. If the user specifies "EscapeKey" to be typed in a script statement and
the keypad argument is set to true, the clear key, which has the same ASCII
value as the escape key, will be typed. The workaround is to leave out the
keypad argument or set it to false. In this case, the real escape key is hit.
12. When a modal dialog is up under System 7.0, menus appear disabled but they
can still be selected. All corresponding menu items are disabled. Virtual
User reports the enable state of the menus and menu items that existed just
BEFORE the modal dialog appeared. In other words, menus and menu items which
were enabled before the modal dialog appeared will be reported as enabled
while the modal dialog is up.
13. If a control in a window is for the most part obscured by a scroll bar,
actions such as selection which are directed at the control will be received
by the scroll bar instead.
Reporting Problems
To report problems, please use Outside Bug Reporter and/or link to MACDTS.
The following is most helpful when reporting problems:
1. Version numbers for all components of Virtual User you are
using. You can obtain the version of VU by using the -vers
command line option.
2. The smallest VU script that shows the problem. In other words, try
to eliminate as much of the script as you can. If it's one statement
that causes the problem, send us just that one statement. Along with
the script, describe the target state in terms of what application
the script is running against and what state the app is in.
3. System configurations for both the target and the VU machine.
4. The network across which the test was being run.
Contact
There is a Virtual User forum for you on AppleLink®. Please post your questions
here. The full path name to access it is:
Developer Support:Developer Talk:Macintosh Development Tool Discussions:Virtual User Discussion